package com.yh.service.impl;

import com.yh.mapper.BookMapper;
import com.yh.model.Book;
import com.yh.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:BookServiceImpl
 * Package:com.yh.service.impl
 * Time: 2024/6/21
 */

@Service
public class BookServiceImpl implements BookService {
    @Autowired
    private BookMapper bookMapper;

    @Override
    public List<Book> selectAll() {
        return bookMapper.selectAll();
    }
}
